package com.ruoyi.project.equipment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 存储产品属性的数据库对象 product
 *
 * @author ruoyi
 * @date 2020-07-02
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品编号 */
    private Integer pId;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String pClass;

    /** 产品描述 */
    @Excel(name = "产品描述")
    private String detail;

    /** 数据格式 */
    @Excel(name = "数据格式")
    private String dataform;

    /** 传输协议 */
    @Excel(name = "传输协议")
    private String protocol;

    @Excel(name = "产品状态")
    private String status;

    public void setpId(Integer pId)
    {
        this.pId = pId;
    }

    public Integer getpId()
    {
        return pId;
    }
    public void setpClass(String pClass)
    {
        this.pClass = pClass;
    }

    public String getpClass()
    {
        return pClass;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }

    public String getDetail()
    {
        return detail;
    }
    public void setDataform(String dataform)
    {
        this.dataform = dataform;
    }

    public String getDataform()
    {
        return dataform;
    }
    public void setProtocol(String protocol)
    {
        this.protocol = protocol;
    }

    public String getProtocol()
    {
        return protocol;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("pId", getpId())
                .append("pClass", getpClass())
                .append("detail", getDetail())
                .append("dataform", getDataform())
                .append("protocol", getProtocol())
                .toString();
    }
}